<?php

return [
    [
        'name' => 'is_independent_app',
        'title' => '是否是独立部署应用',
        'type' => 'radio',
        'group' => '微信小程序',
        'visible' => '',
        'content' => [
            1 => '是',
            0 => '否',
        ],
        'value' => '1',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'mp_appid',
        'title' => '微信小程序appid',
        'type' => 'string',
        'group' => '微信小程序',
        'visible' => '',
        'content' => [],
        'value' => 'wx986622f0ffeb7bf3',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'mp_app_secret',
        'title' => '微信小程序appsecret',
        'type' => 'string',
        'group' => '微信小程序',
        'visible' => 'is_independent_app=1',
        'content' => [],
        'value' => 'e064b3cbd1f83fb7aedb0cb0fdde985f',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'saas_applet_id',
        'title' => 'saas应用applet_id',
        'type' => 'string',
        'group' => '微信小程序',
        'visible' => 'is_independent_app=0',
        'content' => [],
        'value' => '10013',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'is_normal_merchant',
        'title' => '商户类型',
        'type' => 'radio',
        'group' => '微信支付',
        'visible' => '',
        'content' => [
            1 => '普通商户',
            0 => '特约商户',
        ],
        'value' => '1',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'pay_merchant_id',
        'title' => '商户号',
        'type' => 'string',
        'group' => '微信支付',
        'visible' => 'is_normal_merchant=1',
        'value' => '1522447861',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'pay_api_key',
        'title' => 'apiKey 3',
        'type' => 'string',
        'group' => '微信支付',
        'visible' => 'is_normal_merchant=1',
        'value' => 'cueewiwghih4834y8gh34ihhdb834883',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'pay_api_serial_no',
        'title' => '证书序列号',
        'type' => 'string',
        'group' => '微信支付',
        'visible' => 'is_normal_merchant=1',
        'value' => '177471103C6A6D261032DC2E6A843CE697CAA112',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'pay_cert_file',
        'title' => 'Cert文件名',
        'type' => 'text',
        'group' => '微信支付',
        'visible' => 'is_normal_merchant=1',
        'value' => '-----BEGIN CERTIFICATE-----'."\r\n"
            .'MIIEJDCCAwygAwIBAgIUF3RxEDxqbSYQMtwuaoQ85pfKoRIwDQYJKoZIhvcNAQEL'."\r\n"
            .'BQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT'."\r\n"
            .'FFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg'."\r\n"
            .'Q0EwHhcNMjMwNTEwMDgyMTA2WhcNMjgwNTA4MDgyMTA2WjB+MRMwEQYDVQQDDAox'."\r\n"
            .'NTIyNDQ3ODYxMRswGQYDVQQKDBLlvq7kv6HllYbmiLfns7vnu58xKjAoBgNVBAsM'."\r\n"
            .'IeaIkOmDveS6muWFi+iMnOenkeaKgOaciemZkOWFrOWPuDELMAkGA1UEBgwCQ04x'."\r\n"
            .'ETAPBgNVBAcMCFNoZW5aaGVuMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC'."\r\n"
            .'AQEAxFDzbo/o0S0C4L/Eks7oqJrv8vjwT8+qrZV9g8WMyeUbOlxY+h2KBdP76nhX'."\r\n"
            .'gcul6UWD1a2I2OPlpeNMmneHDk8aTRPF1kiH4bYRhc6U1+YSZkKHykKHudFNzhyZ'."\r\n"
            .'CQkn7En7UrBn31ehu9yfhZBDLmpQWy5qvykd4BRNZOMiNHhnTym4ss6NjXCbNSDA'."\r\n"
            .'XFTzoifIVFgKI9YzfU3fdPsO2AUO/ZeCl9f99nzczdKP/QSDBbEVQEplW3QCZ/xI'."\r\n"
            .'QsgaOXLjJ8LiaPu8ZfkQ42gRcB+iw+rMPyWsS0cZiNTT+uYAvn9LhI9ccJY7Vlfa'."\r\n"
            .'JxU4vKpYGMS41SN4CZ1pzdxw5QIDAQABo4G5MIG2MAkGA1UdEwQCMAAwCwYDVR0P'."\r\n"
            .'BAQDAgP4MIGbBgNVHR8EgZMwgZAwgY2ggYqggYeGgYRodHRwOi8vZXZjYS5pdHJ1'."\r\n"
            .'cy5jb20uY24vcHVibGljL2l0cnVzY3JsP0NBPTFCRDQyMjBFNTBEQkMwNEIwNkFE'."\r\n"
            .'Mzk3NTQ5ODQ2QzAxQzNFOEVCRDImc2c9SEFDQzQ3MUI2NTQyMkUxMkIyN0E5RDMz'."\r\n"
            .'QTg3QUQxQ0RGNTkyNkUxNDAzNzEwDQYJKoZIhvcNAQELBQADggEBABvkUSFEz1RL'."\r\n"
            .'t2JNcp9qzolgCWM0iG0fnTJJrGq8Lu+h5Unmh0phMJQtIV3K67DTYMlErC+KTV2G'."\r\n"
            .'LYqdW3xlp+8YvIflc26BsMZ/P9EKpvY6uu1j+95bJAiRqHrGwf3ouDxHFmZQ1RGz'."\r\n"
            .'UvXW2Wo4jLyif4D7gRqiT6Fbx3WWPXoucPLXLiGOuTRek00mQba2fEdcdy+zFM/d'."\r\n"
            .'ukJiGj2g0A0vkCHExfWIz8E8ke4j7H3znhD2qZHUofqTfET2h1t5p0jk+68k/sOJ'."\r\n"
            .'82HEFd/UkAL/QVR4ihwDRaBobsdi7BkAaM36zswaqcHdsJILWgGNE1x8R6tEojWt'."\r\n"
            .'DreQAwzagQg='."\r\n"
            .'-----END CERTIFICATE-----',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'pay_key_file',
        'title' => 'Key文件名',
        'type' => 'text',
        'group' => '微信支付',
        'visible' => 'is_normal_merchant=1',
        'value' => '-----BEGIN PRIVATE KEY-----'."\r\n"
            .'MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDEUPNuj+jRLQLg'."\r\n"
            .'v8SSzuiomu/y+PBPz6qtlX2DxYzJ5Rs6XFj6HYoF0/vqeFeBy6XpRYPVrYjY4+Wl'."\r\n"
            .'40yad4cOTxpNE8XWSIfhthGFzpTX5hJmQofKQoe50U3OHJkJCSfsSftSsGffV6G7'."\r\n"
            .'3J+FkEMualBbLmq/KR3gFE1k4yI0eGdPKbiyzo2NcJs1IMBcVPOiJ8hUWAoj1jN9'."\r\n"
            .'Td90+w7YBQ79l4KX1/32fNzN0o/9BIMFsRVASmVbdAJn/EhCyBo5cuMnwuJo+7xl'."\r\n"
            .'+RDjaBFwH6LD6sw/JaxLRxmI1NP65gC+f0uEj1xwljtWV9onFTi8qlgYxLjVI3gJ'."\r\n"
            .'nWnN3HDlAgMBAAECggEAG3HdtlU0DRonztfAWW3HpNqUNPmMTvwPNlkxxNw3RHpd'."\r\n"
            .'Bhmm7sB2bT4nd63/PcwEk8n+Fj8+ZGPn1Psj2GxhWyS/3oqnG7/kDy/u3y/0KwKl'."\r\n"
            .'C9q9NQ97/gQ+xlPFKTg4dpYZJoQ24UhU+fhr7LYwTiratQSWM8dBv/PWpgYC4Ca+'."\r\n"
            .'SRcRcQN7HaQcE+8RhQ6U7w1GoAXmyPErt7OHUbVhuQTa5sxMIryTa0jTrir/cMWx'."\r\n"
            .'L9ZDIG6+OYluXR8PvJFDRb4+oMNuDg8CAXND4JyCgNt5WNDvX03VFhsq+R0YfO4G'."\r\n"
            .'+DRUBZpQdBz3xBIbxfAUothdZxU/UYzNN9jT9CLbuQKBgQDknX03IUsupWiCeRii'."\r\n"
            .'HOwiP8gftSDuI7S9cjlwPd4G0+CE1k/eaPlMIirWuiBUC9L6lZcHNcTkFmVbMdPW'."\r\n"
            .'/7kHvFZo1nw+LA7J8n4Ggh5zA5F32sokMFf6l8AViLrqqsb+t2lVzKphxS2BFe96'."\r\n"
            .'fir3KxRl45Guj6dresSlfULYpwKBgQDb1QKNE/lkWf+qiDI2m/LnsRtg8ZJ0m3yW'."\r\n"
            .'fKe2p7KzrXO6Y+EgNuWs+LGANZknU+g3MnptFCMTnpdm0aP5y2KteuOwuCeo1a4T'."\r\n"
            .'sE08OyogJWq7an0jN57MIro67O5yDtXcIe3iqgas0AdTrWIQMWKq/nlFbto7F0QW'."\r\n"
            .'tehdIL3PkwKBgQCSI/K1WT0cNnSWYx7SErcINcmSK1E/qeeR6wC4tXPG3Y56nB02'."\r\n"
            .'SdiDSJwl45li4KQft5xx6XdRbtef8jw/Bf2b6lM6dVG61KMniTHyqx8X2sIU4fGy'."\r\n"
            .'LI0xDeymV19VP5IxpcFaLZkFIuyxxfnuTdTdZ9aEQ3MPKZmWZUZrm6UtpQKBgQCf'."\r\n"
            .'6s4HSP+EZAAb0yYMGdhTecA7/qAW2cGBS79JnabfFI/6iIwNvkHIWcXuSY9XT6++'."\r\n"
            .'76al0R9PN3BWKK1Lmwv2vU4DkYOwS3lt8zPMXBHh/rYtDmNoCh8nyx+EnDU9ndMv'."\r\n"
            .'ZzNBT4S5lD+wPJH4y6RGVgZsXx68G8m5Z61YiefqpwKBgCZyPbjdDtE3GZI4xffO'."\r\n"
            .'6qyYIK/i7xoN8ILmEOPp2oFDux0xzPWy6nzLm/mo/EJ6uHT31cdGxKQggOxYUJxJ'."\r\n"
            .'s09uzAFk4no7vzar2EMYQw4ZLPgwOcGMFb0gwaUMqVRS7tlqLxmJwznFqkUmuUaz'."\r\n"
            .'jB+hWr3zBws6n+p5EZ2Qbfkm'."\r\n"
            .'-----END PRIVATE KEY-----',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'pay_sub_merchant_id',
        'title' => '商户号',
        'type' => 'string',
        'group' => '微信支付',
        'visible' => 'is_normal_merchant=0',
        'value' => '1649698025',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'tongtongsuo_domain',
        'title' => '域名',
        'type' => 'string',
        'group' => '通通锁',
        'value' => 'https://cnapi.ttlock.com',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'tongtongsuo_client_id',
        'title' => 'ClientId',
        'type' => 'string',
        'group' => '通通锁',
        'value' => 'f602dbe857544cfc9a496a5d3706b4a0',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'tongtongsuo_client_secret',
        'title' => 'ClientSecret',
        'type' => 'string',
        'group' => '通通锁',
        'value' => 'd1d7fab07e4c3183149a9bee57abd18d',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'tongtongsuo_username',
        'title' => '管理员用户名',
        'type' => 'string',
        'group' => '通通锁',
        'value' => '18684030581',
        'rule' => 'required',
        'msg' => '',
        'tip' => '应用管理员的用户名',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'tongtongsuo_password',
        'title' => '管理员密码',
        'type' => 'string',
        'group' => '通通锁',
        'value' => 'fanqing681221',
        'rule' => 'required',
        'msg' => '',
        'tip' => '应用管理员的密码',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'yunding_domain',
        'title' => '云丁接口域名',
        'type' => 'string',
        'group' => '云丁电源',
        'value' => '',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'yunding_client_id',
        'title' => '云丁ClientId',
        'type' => 'string',
        'group' => '云丁电源',
        'value' => '',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'yunding_client_secret',
        'title' => '云丁ClientSecret',
        'type' => 'string',
        'group' => '云丁电源',
        'value' => '',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'mqtt_address',
        'title' => '音响mqtt地址',
        'type' => 'string',
        'group' => 'mqtt',
        'value' => '101.43.87.102',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'mqtt_port',
        'title' => '音响mqtt端口',
        'type' => 'string',
        'group' => 'mqtt',
        'value' => '1883',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'mqtt_user',
        'title' => '音响mqtt用户',
        'type' => 'string',
        'group' => 'mqtt',
        'value' => 'user1',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'mqtt_password',
        'title' => '音响mqtt密码',
        'type' => 'string',
        'group' => 'mqtt',
        'value' => 'fq123456',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
];
